package com.pur.zsms.foodmanage.food.po;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;
@SuppressWarnings("serial")
@Entity
@Table(name="t_food_mater")
public class FoodMaterPo extends BaseEntity {
	@Id   
 	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name="fm_id")
    private int fmId;
    
 	@Column(name="food_id")
	private int foodId;
	
	@Column(name="mater_id")
	private int materId;
	
    @Column(name="mater_weight")
    private BigDecimal materWeight;
    
    @Column(name="mater_proportion")
    private int materProportion;

	public int getFmId() {
        return fmId;
    }

    public void setFmId(int fmId) {
        this.fmId = fmId;
    }

    public int getMaterProportion() {
        return materProportion;
    }

    public void setMaterProportion(int materProportion) {
        this.materProportion = materProportion;
    }

    public int getFoodId() {
        return foodId;
    }

    public void setFoodId(int foodId) {
        this.foodId = foodId;
    }

    public int getMaterId() {
        return materId;
    }

    public void setMaterId(int materId) {
        this.materId = materId;
    }

    public BigDecimal getMaterWeight() {
        return materWeight;
    }

    public void setMaterWeight(BigDecimal materWeight) {
        this.materWeight = materWeight;
    }


}
